Returns the GameInputElementthe user pressed. Waits for an element to change on any input device.
Syntax |
|---|
|
result = GameInputManager.WaitForElement( timeout ) |
Parameters |
|
|---|---|
|
timeout |
|
Return Value |
|
|---|---|
|
Result |
|
Notes
Timeout is in seconds.
GameInputManager.WaitForElement Function
Returns the GameInputElementthe user pressed. Waits for an element to change on any input device.
Syntax |
|---|
|
result = GameInputManager.WaitForElement( timeout ) |
Parameters |
|
|---|---|
|
timeout |
|
Return Value |
|
|---|---|
|
Result |
|
Timeout is in seconds.